//
//  EPOSProductScanSelectEntitys.m
//  BCGenieEffect
//
//  Created by Ios Entity Generator on 2014-03-07 10:33:37
//  Copyright (c) 2014年 Bartosz Ciechanowski. All rights reserved.
//

#import "EPOSProductScanSelectEntitys.h"

@implementation EPOSProductScanSelectEntitys

+(id) getEPOSProductScanSelectEntitysFromDictionary :(NSDictionary *) dic {
    EPOSProductScanSelectEntitys * productScanSelectEntitys = [[EPOSProductScanSelectEntitys alloc]init] ;
    productScanSelectEntitys.ProdName = [dic objectForKey:@"ProdName"];
    productScanSelectEntitys.ProdID = [dic objectForKey:@"ProdID"];
    productScanSelectEntitys.ProdSeason = [dic objectForKey:@"ProdSeason"];
    productScanSelectEntitys.ColorName = [dic objectForKey:@"ColorName"];
    productScanSelectEntitys.SizeName = [dic objectForKey:@"SizeName"];
    productScanSelectEntitys.IsSelected = [dic objectForKey:@"IsSelected"];
    productScanSelectEntitys.EntityState = [dic objectForKey:@"EntityState"];
    productScanSelectEntitys.Selected = [dic objectForKey:@"Selected"];
    productScanSelectEntitys.ProdClsID = [dic objectForKey:@"ProdClsID"];
    productScanSelectEntitys.ProdYear = [dic objectForKey:@"ProdYear"];
    return productScanSelectEntitys ;
}

+(NSMutableDictionary *) getDictionaryFromEPOSProductScanSelectEntitys :(EPOSProductScanSelectEntitys* ) productScanSelectEntitys {
    NSMutableDictionary * dic = [[NSMutableDictionary alloc]init] ;
    [dic setObject:productScanSelectEntitys.ProdName forKey:@"ProdName"];
    [dic setObject:productScanSelectEntitys.ProdID forKey:@"ProdID"];
    [dic setObject:productScanSelectEntitys.ProdSeason forKey:@"ProdSeason"];
    [dic setObject:productScanSelectEntitys.ColorName forKey:@"ColorName"];
    [dic setObject:productScanSelectEntitys.SizeName forKey:@"SizeName"];
    [dic setObject:productScanSelectEntitys.IsSelected forKey:@"IsSelected"];
    [dic setObject:productScanSelectEntitys.EntityState forKey:@"EntityState"];
    [dic setObject:productScanSelectEntitys.Selected forKey:@"Selected"];
    [dic setObject:productScanSelectEntitys.ProdClsID forKey:@"ProdClsID"];
    [dic setObject:productScanSelectEntitys.ProdYear forKey:@"ProdYear"];
    return dic ;
}

@end